From: Jason Rumney Date: Thu, 19 Aug 2010 15:53:08 +0000 (+0800) Subject: (set_frame_menubar): Remove call to undefined function. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~6906 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=e3dac953348b6f59f1c74e01ec62a85ac50f350c;p=emacs.git (set_frame_menubar): Remove call to undefined function. --- diff --git a/src/ChangeLog b/src/ChangeLog index cbfb065928a..9042335e689 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -8,6 +8,8 @@ 2010-08-19 Jason Rumney + * w32menu.c (set_frame_menubar): Remove call to undefined function. + * w32fns.c (w32_wnd_proc): Don't check context before initializing. 2010-08-19 Jan Djärv diff --git a/src/w32menu.c b/src/w32menu.c index 1146843bec8..0ed9bffe70c 100644 --- a/src/w32menu.c +++ b/src/w32menu.c @@ -420,12 +420,8 @@ set_frame_menubar (FRAME_PTR f, int first_time, int deep_p) set_buffer_internal_1 (XBUFFER (buffer)); - /* Run the Lucid hook. */ + /* Run the hooks. */ safe_run_hooks (Qactivate_menubar_hook); - /* If it has changed current-menubar from previous value, - really recompute the menubar from the value. */ - if (! NILP (Vlucid_menu_bar_dirty_flag)) - call0 (Qrecompute_lucid_menubar); safe_run_hooks (Qmenu_bar_update_hook); FRAME_MENU_BAR_ITEMS (f) = menu_bar_items (FRAME_MENU_BAR_ITEMS (f));